﻿using XYAC.Framework.MonitorTireMaterialManual.Entities;
using XYAC.Framework.MonitorTireMaterialManual.OracleRemoteDB;

namespace XYAC.Framework.MonitorTireMaterialManual.IServices
{
    public interface IYB_TechnologyService
    {
        KeyValuePair<YB_Technology_Header, IEnumerable<YB_Technology_Line>> From(SpecInfo spec);
        Dictionary<YB_Technology_Header, IEnumerable<YB_Technology_Line>> GetAllSpec(string detectMachineNo = null);
        SpecInfo ToSpecInfo(YB_Technology_Header header, IEnumerable<YB_Technology_Line> lines);
    }
}